body {
  width: 100%;
  height: 600vh;
  margin: 0;
  background-color: #000;
}
.container {
  width: 1000px;
  height: 100vh;
  margin: 0 auto;
  position: sticky;
  top: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
}
video {
  width: 400px;
  display: block;
  margin: auto;
}
.txt-item {
  position: absolute;
  width: 280px;
  font-weight: bold;
  color: gray;
  transition: all 0.8s linear;
  letter-spacing: 1px;
  text-align: center;
  font-size: 13px;
  opacity: 0;
  span {
    color: yellowgreen;
  }
  &.active {
    opacity: 1;
  }
}
.txt-item:nth-child(2) {
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
}
.txt-item:nth-child(3) {
  width: 230px;
  padding-top: 15px;
  top: 60%;
  left: 60%;
  .txt {
    transition: all 0.3s linear;
    transform: translateY(50px);
  }
  .line {
    border-top: 1px solid gray;
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    transition: all 0.5s linear;
  }
  &.active {
    .txt {
      transform: translateY(0);
    }
    .line {
      width: 300px;
    }
  }
}
.txt-item:nth-child(4) {
  top: 75%;
  left: 58%;
  .line {
    border-left: 1px solid gray;
    position: absolute;
    left: -20px;
    right: 0;
    bottom: 0;
    transition: all 0.5s;
  }
  &.active {
    .line {
      height: 130px;
    }
  }
}
.txt-item:nth-child(5) {
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
}
